;8001.asm  宏库的使用
include 8001.mac
.model small
.stack 100h
.data
  x db 33h,34h
  y dw ?
mess1 db  1,2,3,4,5,6,7,8,9,0
mess2 db 10 dup(?)
.code
start:
mov ax,@data       
mov ds,ax
mov es,ax
;
str_mov 10,mess1,mess2			;mess1传送到mess2
str_mov 2,x,y					;x传送到y
;
input							;输入的小写字母变为大写输出
sub al,20h
output al
;
addi 34,25,y						;y=34+25
retsys							;结束，返回DOS
end  start